import {NgModule} from '@angular/core';
import {FormsModule} from '@angular/forms';
import {CommonModule} from '@angular/common';
import {RouterModule} from '@angular/router';
import {NavComponent} from './nav/nav.component';
import {FooterComponent} from './footer/footer.component';
import {ConfirmDialogComponent} from './confirm-dialog/confirm-dialog.component';
import {MaterialModule} from '../shared/material.module';
import {NavBackComponent} from './nav-back/nav-back.component';
import { HeaderComponent } from './header/header.component';
import {FlexLayoutModule} from '@angular/flex-layout';
import {ProgressBarService} from './shared/progress-bar.service';
import {GenderPipe} from './GenderPipe';
import { NavDashboardComponent } from './nav-dashboard/nav-dashboard.component';

@NgModule({
  imports: [
    CommonModule,
    FormsModule,
    RouterModule,
    MaterialModule,
    FlexLayoutModule
  ],
  exports: [
    NavBackComponent,
    NavDashboardComponent,
    HeaderComponent,
    FooterComponent,
    GenderPipe
  ],
  declarations: [
    NavComponent,
    FooterComponent,
    ConfirmDialogComponent,
    NavBackComponent,
    HeaderComponent,
    GenderPipe,
    NavDashboardComponent
  ],
  providers: [
    ProgressBarService
  ]
})

export class CoreModule {}
